#define _CRT_SECURE_NO_WARNINGS   1

//// main.c
//#include "love_game.h"
//
//int main() {
//    showMenu();
//    return 0;
//}

// confess_game.c
//// main.c
//// main.c
//#include "love_game.h"
//
//int main() {
//    showMenu();
//    return 0;
//}
#include<stdio.h>
#include<stdlib.h>
void fun(int* p1)
{
	p1 = (int*)malloc((sizeof(int)) * 16);
	if (NULL != p1)
		for (int i = 5; i < 15; i++)
		{
			p1[i] = i;
		}
	
	else
		printf("malloc");
	/*free(p1);
	p1 = NULL;*/
}


int main()
{

	int* p;
	int arr[] = { 1,2,3,4 };
	p = arr;
	fun(p);



	return 0;
}


